.cooperative-brands {
  padding-bottom: 40px;
  background-color: #F3F3F3;
}

.cooperative-brands .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cooperative-brands .section-header {
  text-align: left;
  margin-bottom: 0;
}

.cooperative-brands .section-header h2 {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.brands-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.brands-scroll {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  animation: scroll-left 20s linear infinite;
  width: max-content;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.brands-scroll:hover {
  animation-play-state: paused;
}

.brand-item {
  flex-shrink: 0;
  width: 180px;
  height: 120px;
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.brand-item img {
  max-width: 140px;
  max-height: 100px;
  object-fit: contain;
}

.brands-loading,
.brands-error,
.no-brands {
  text-align: center;
  padding: 40px 0;
  color: #666;
}

.brands-error,
.no-brands {
  font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .cooperative-brands {
    padding: 40px 0;
  }
  
  .cooperative-brands .section-header h2 {
    font-size: 24px;
  }
  
  .brand-item {
    width: 150px;
    height: 100px;
  }
  
  .brand-item img {
    max-width: 120px;
    max-height: 60px;
  }
  
  .brands-scroll {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .cooperative-brands .container {
    padding: 0 15px;
  }
  
  .cooperative-brands .section-header {
    margin-bottom: 30px;
  }
  
  .cooperative-brands .section-header h2 {
    font-size: 20px;
  }
  
  .brand-item {
    width: 120px;
    height: 80px;
  }
  
  .brand-item img {
    max-width: 100px;
    max-height: 50px;
  }
  
  .brands-scroll {
    gap: 15px;
  }
}
